package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "sms_source")
public class SmsSource implements Serializable {

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name = "gateway_id")
    private Integer gatewayId;

    @Column(name = "taskid")
    private Integer taskId;

    @Column(name = "subtask_id")
    private Integer subtaskId;

    @Column(name = "mobile")
    private String mobile;

    @Column(name = "rel_report_key")
    private String relReportKey;

    @Column(name = "rel_mo_key")
    private String relMoKey;

    @Column(name = "task_req_time")
    private Date taskReqTime;

    @Column(name = "sp_submit_time")
    private Date spSubmitTime;

    @Column(name = "num")
    private Integer num;

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public Integer getGatewayId() {
        return gatewayId;
    }

    public void setGatewayId(Integer gatewayId) {
        this.gatewayId = gatewayId;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getSubtaskId() {
        return subtaskId;
    }

    public void setSubtaskId(Integer subtaskId) {
        this.subtaskId = subtaskId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getRelReportKey() {
        return relReportKey;
    }

    public void setRelReportKey(String relReportKey) {
        this.relReportKey = relReportKey;
    }

    public String getRelMoKey() {
        return relMoKey;
    }

    public void setRelMoKey(String relMoKey) {
        this.relMoKey = relMoKey;
    }

    public Date getTaskReqTime() {
        return taskReqTime;
    }

    public void setTaskReqTime(Date taskReqTime) {
        this.taskReqTime = taskReqTime;
    }

    public Date getSpSubmitTime() {
        return spSubmitTime;
    }

    public void setSpSubmitTime(Date spSubmitTime) {
        this.spSubmitTime = spSubmitTime;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
